@import 'colors';
$baseLineHeight: 20px;
$baseFontSize: 14px;
$baseBorderRadius: 3px;
$sg-codefont: "Monaco", "Courier", monospace !default;
$ic-font-family: "LatoWeb", "Helvetica Neue", Helvetica, Arial, sans-serif;

.body.content__body {
  padding-top: 2rem;
  width: 70%;
}

.content__title {
  padding-top: 2rem;
  margin-bottom: 0.5rem;
}

.content__details {
  border-top: $borderColor 1px solid;
  border-bottom: $borderColor 1px solid;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.5rem 0;
  div {
    padding: 0.25rem;
  }
}

.content__content {
  color: $canvasDark;
  font-family: $ic-font-family;
  a {
    color: $canvasBrandPrimary;
    &:focus, &:hover { color: darken($canvasBrandPrimary, 10%); }
  }

  pre {
    padding: 0 3px 2px;
    font-family: $sg-codefont;
    font-size: $baseFontSize - 2;
    display: block;
    padding: ($baseLineHeight - 1) / 2;
    margin: 0 0 $baseLineHeight / 2;
    line-height: $baseLineHeight;
    word-break: break-all;
    word-wrap: break-word;
    white-space: pre;
    white-space: pre-wrap;
    background-color: #f5f5f5;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: $baseBorderRadius;
  }
}

.content__footer {
  display: flex;
  justify-content: space-between;
  border-top: $borderColor 1px solid;
  margin-top: 2rem;
  padding-top: 1.25rem;

  svg {
    vertical-align: text-top;
  }

  .content__empty-next-link {
    width: 3.95rem;
  }
  .content__empty-prev-link {
    width: 5.5rem;
  }
}

.content__participate-online {
  display: flex;
  span {
    padding-left: 0.25rem;
  }
}
